package com.ls.controller.company;

import com.ls.service.ICompanyService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 企业H5 前端控制器
 * </p>
 *
 * @author pengyu
 * @since 2024-10-12
 */
@Api(value = "企业H5相关接口", tags = "企业H5相关接口")
@RestController
@RequiredArgsConstructor
@RequestMapping("/companyH5")
public class CompanyH5Controller {
    private final ICompanyService service;
    /** 查看企业  */
    @GetMapping("getCompany")
    public ResultData getCompany(Long customerId) {
        return service.getCompany(customerId);
    }
}
